<%
	org.languageguide.user.User user = org.languageguide.user.UserManager.getUser(session);
	if (user == null){
		user =	org.languageguide.user.UserManager.loginFromCookie(request);
		if (user== null){
			String query = request.getQueryString();
			System.out.println("query" + query);
			session.setAttribute("redirect_url", redirectLocation  + query);
			response.sendRedirect("/user/login.jsp");
			return;
		}
	}
%>